package com.tiku.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

public class RegCheck {

    public static boolean validateMobileNumber(String mobileNumber) {
        // 中国大陆手机号正则表达式
        String regex = "^1[3-9]\\d{9}$";
        Pattern pattern = Pattern.compile(regex);
        Matcher matcher = pattern.matcher(mobileNumber);
        return matcher.matches();
    }
}
